package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class UserGoodsAttachmentDownloadTaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public UserGoodsAttachmentDownloadTaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public UserGoodsAttachmentDownloadTaskExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public UserGoodsAttachmentDownloadTaskExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        UserGoodsAttachmentDownloadTaskExample example = new UserGoodsAttachmentDownloadTaskExample();
        return example.createCriteria();
    }

    public UserGoodsAttachmentDownloadTaskExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public UserGoodsAttachmentDownloadTaskExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public UserGoodsAttachmentDownloadTaskExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public UserGoodsAttachmentDownloadTaskExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public UserGoodsAttachmentDownloadTaskExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.UserId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.UserId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.UserId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.UserId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.UserId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.UserId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.UserId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.UserId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.UserId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.UserId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.UserId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.`Type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.`Type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Type` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Type` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Type` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Type` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Type` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Type` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.`Type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andDataMD5IsNull() {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 is null");
            return (Criteria) this;
        }

        public Criteria andDataMD5IsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 is not null");
            return (Criteria) this;
        }

        public Criteria andDataMD5EqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 =", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5EqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DataMD5 = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDataMD5NotEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 <>", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5NotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DataMD5 <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDataMD5GreaterThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 >", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5GreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DataMD5 > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDataMD5GreaterThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 >=", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5GreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DataMD5 >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDataMD5LessThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 <", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5LessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DataMD5 < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDataMD5LessThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 <=", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5LessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DataMD5 <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDataMD5Like(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 like", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5NotLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 not like", value, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5In(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 in", values, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5NotIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 not in", values, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5Between(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 between", value1, value2, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDataMD5NotBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.DataMD5 not between", value1, value2, "dataMD5");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId is null");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId is not null");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId =", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DownloadStorageId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdNotEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId <>", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DownloadStorageId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdGreaterThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId >", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DownloadStorageId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdGreaterThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId >=", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DownloadStorageId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdLessThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId <", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DownloadStorageId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdLessThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId <=", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.DownloadStorageId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId like", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdNotLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId not like", value, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId in", values, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdNotIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId not in", values, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId between", value1, value2, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andDownloadStorageIdNotBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.DownloadStorageId not between", value1, value2, "downloadStorageId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.`Status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.`Status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`Status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("usergoodsattachmentdownloadtask.`Status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("usergoodsattachmentdownloadtask.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("usergoodsattachmentdownloadtask.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(UserGoodsAttachmentDownloadTask.Column column) {
            addCriterion(new StringBuilder("usergoodsattachmentdownloadtask.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("usergoodsattachmentdownloadtask.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private UserGoodsAttachmentDownloadTaskExample example;

        protected Criteria(UserGoodsAttachmentDownloadTaskExample example) {
            super();
            this.example = example;
        }

        public UserGoodsAttachmentDownloadTaskExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(UserGoodsAttachmentDownloadTask.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(UserGoodsAttachmentDownloadTask.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.UserGoodsAttachmentDownloadTaskExample example);
    }
}